package com.travel.group.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Table;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Table(name = "comment")
public class Comment {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String userId;
    private String content;
    private Date createDate;
    private String username;
    private Integer status;//1已发布未审核 2已审核
    private String imgs;
    private Integer gid;
}
